/*
 * =====================================================================================
 *
 *       Filename:  timer.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  22.01.2010 11:58:34
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Michal Antonczak (uzyszkodnik), uzyszkodnik.priv@gmail.com
 *        Company:  
 *
 * =====================================================================================
 */
#pragma once
#include <SDL/SDL.h>
using namespace std;
class Timer{

	private:
		Uint32 startT;
		Uint32 lastT;
	public:
		void start();
		// time since start of timer
		Uint32 timess();
		// time since last call of tslc
		Uint32 tslc();

};

